import {App} from "vue"
import menus from './src/index.vue'
import infiniteMenu from './src/menu'

//导出组件
export default {
    install(app: App) {
        app.component('my-menus', menus)
        // 注册无限层级的菜单
        app.component('infinite-menu',infiniteMenu)
    }
}
